<include file="public@header"/>

</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="">产品操作</a></li>
    </ul>

    <form method="post" class="form-horizontal margin-top-20 js-ajax-form" action="{:url('admin/goods/addgoods')}"
          role="form">
        <input type="hidden" name="g_id" value="{$data.g_id|default=''}">
        <div class="col-xs-5">
            <div class="form-group">
                <label for="firstname" class="col-sm-2 control-label">产品分类</label>
                <div class="col-sm-10">
                    <select name="parent_id" id="" class="form-control selected" data-val="{$data.parent_id|default=''}">
                        <navigation nav-id="3">
                            <option  value="{$menu.id}">{$menu.name}</option>
                        </navigation>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label for="firstname" class="col-sm-2 control-label">产品名称</label>
                <div class="col-sm-10">
                    <input type="text" name="g_name" value="{$data.g_name|default=''}" class="form-control" id="firstname" placeholder="请输入名称">
                </div>
            </div>
            <div class="form-group">
                <label for="lastname" class="col-sm-2 control-label">出售价格</label>
                <div class="col-sm-10">
                    <div class="input-group">
                        <input type="text" name="basics_money" value="{$data.basics_money|default=''}" class="form-control" id="lastname" placeholder="出售价格">
                        <label class="input-group-addon">元</label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label for="lastname" class="col-sm-2 control-label">产品说明</label>
                <div class="col-sm-10">
                    <textarea id="" name="g_info" class="form-control" placeholder="产品说明">{$data.g_info|default=''}</textarea>
                </div>
            </div>
            <div class="form-group">
                <label for="lastname" class="col-sm-2 control-label">使用说明</label>
                <div class="col-sm-10">
                    <textarea id="" name="use_info" class="form-control" placeholder="使用说明">{$data.use_info|default=''}</textarea>
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button class="js-ajax-submit btn btn-success" type="submit">提交</button>
                </div>
            </div>
        </div>
    </form>
</div>
</body>
</html>
<script src="__STATIC__/js/admin.js"></script>